package main

import "fmt"

func main() {
	for i := 0; i < 10; i++ {
		fmt.Print(i)
	}

	fmt.Println()

	fullString := "hello world"
	fmt.Println(fullString)
	for i, c := range fullString {
		fmt.Println(i, string(c))
	}

	arr := []int {10, 11, 12, 13, 14}
	for i := 0; i < len(arr); i++ {
		fmt.Printf("%d --> %d \n", i, arr[i])
	}

	for index, value := range arr {
		fmt.Printf("%d --> %d\n", index, value)
	}
}
